﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElementLib;
using HalconDotNet;
namespace ElementLib.Interface
{
    public delegate IElemPack FindMethod(string name, int aimlist);
    public delegate void AddToList(IElemPack elemPack, int aimlist);
    public delegate void AddSupline(SupportLine supportLine);
    public interface IComplexMes
    {
        int Type { get; set; }
        Output Execute(FindMethod method);
        void Execute(HObject image, HTuple homMat2D, HTuple reVerseHomMat2D, AddToList add, FindMethod find, AddSupline addSupline);
        void Dispose();
        void Unload();
        bool loadElem(List<IElemPack> ieps);

        void ApplyChange(string mode);
        List<string>NameList { get; set; }
        void CompleteChildElem();
        Output Rs
        {
            get;
            set;
        }

        string Name { get; set; }


    }
}
